// 导入vue
import Vue from 'vue';
// 导入vuex
import Vuex from 'vuex';
// 注册
Vue.use(Vuex)
// 创建一个数据存储对象, 并导出
// 导入子模块
import menu from './modules/menu';
import role from './modules/role';
import admin from './modules/admin';
import cate from './modules/cate';
import specs from './modules/specs';
import goods from './modules/goods';
import member from './modules/member';
import banner from './modules/banner';



export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  // 注册子模块
  modules: {
    menu,
    role,
    admin,
    cate,
    specs,
    goods,
    member,
    banner
  }
});
